package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName collection
 */
@TableName(value ="collection")
@Data
public class Collections implements Serializable {
    /**
     * 编号
     */
    @TableId
    private Integer collectionid;

    /**
     *  收藏帖子id
     */
    private Integer co_forumid;

    /**
     * 收藏用户id
     */
    private Integer co_uid;

    /**
     * 发帖用户
     */
    private Integer co_fuid;

    /**
     * 收藏时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date codate;

    private String colluser;
    private String fabuuser;
    private String fabutitle;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}